package tms;

import java.awt.EventQueue;

import tms.controler.BaseController;
import tms.view.WelcomeView;

public class Main {

    public static void main(String[] args) {
        EventQueue.invokeLater(new Runnable() {
            public void run() {
                try {
                    WelcomeView frame = (WelcomeView) BaseController.getInstance().getView();
                    frame.setVisible(true);
                    frame.setTitle("Travel Management System");
                } catch (Exception e) {
                    e.printStackTrace();
                }
            }
        });
    }

}
